const world = {
  info:{
    name:'world',
    desc:'我的愿望是世界和平'
  },
  get name(){
    return this.info.name;
  },
  set name(val){
    this.info.name = val;
  }
}

console.log(world.name);
world.name = '世界';
console.log(world.name);